package br.com.ufpr.sgp;

import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.model.Model;
import org.wicketstuff.annotation.mount.MountPath;

import br.com.ufpr.sgp.pages.EventPage;
import br.com.ufpr.sgp.pages.HelloWorldPage;
import br.com.ufpr.util.base.BaseLayoutPage;
import br.com.ufpr.util.base.Protected;

/**
 * @author Tanimoto
 * 
 */
@Protected
@MountPath("Home")
public class HomePage extends BaseLayoutPage {

	private static final long serialVersionUID = 1L;

	/**
	 * Constructor that is invoked when page is invoked without a em.
	 * 
	 * @param parameters
	 *            Page parameters
	 */
	public HomePage() {
		super(new Model<String>("HomePageTitle"));
		// Add the simplest type of label
		add(new BookmarkablePageLink<Void>("event", EventPage.class));
		add(new BookmarkablePageLink<Void>("helloWorld", HelloWorldPage.class));

	}
}
